function [financial_ratio, dataX] = getFIFromSecurities(arraySecurityId)    
    financial_ratio = [];
    idx_ok = [];
    for i = 1 : size(arraySecurityId,1)
        rslt = get_info_from_database('financial_indicators', ...
            arraySecurityId(i),'from', 2008,'to',2011);
        if ~(iscell(rslt) && strcmpi(rslt{1}, 'No Data'))
            idx_ok = horzcat(idx_ok, i);
            financial_ratio = vertcat(financial_ratio, rslt);
        end
    end
%     sec_id_ok = arraySecurityId(idx_ok);
    % financial_ratio = financial_ratio(:,[1:4 16:20 24 26]);
    financial_ratio = cell2mat(financial_ratio);
    dataX = [];

    for j = 1:size(financial_ratio,1)
        if sum(isnan(financial_ratio(j,:)))== 0
            dataX = vertcat(dataX, financial_ratio(j,:));
        end
    end
end